package com.riant.day08;

/**
 * @Classname Demo01
 * @Description TODO
 * @Date 2021/3/24 9:50
 * @Created by 张斌
 */
public class Demo01 {
    public static void main(String[] args) {
        MyRunnable myRunnable=new MyRunnable();
        Thread thread1=new Thread(myRunnable,"小王");
        Thread thread2=new Thread(myRunnable,"小李");
        thread1.start();
        thread2.start();
    }
}
